home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / lib / perl5 / auto / POSIX / assert.al < prev    next >
Text File  |  1995-07-02  |  191b  |  12 lines

  1. # NOTE: Derived from lib/POSIX.pm.  Changes made here will be lost.
  2. package POSIX;
  3.  
  4. sub assert {
  5.     usage "assert(expr)" if @_ != 1;
  6.     if (!$_[0]) {
  7.     croak "Assertion failed";
  8.     }
  9. }
  10.  
  11. 1;
  12.